#ifndef CLIENTSCORECARD_H
#define CLIENTSCORECARD_H

#include "Engine.h"
#include "InputSet.h"
#include <OgreEntity.h>
#include <vector>
#include <iostream>
#include <string>
#include "NetworkTarget.h"

#define CSCNUMDIGITS 5

//a class that displays score
class ClientScoreCard : public NetworkTarget{
public:
	ClientScoreCard(char* name, Ogre::SceneManager* sm, Ogre::SceneNode* toAddTo);
	void updateState();
	void alertToInput( const InputSet& input );
	virtual void draw( Engine* game );
	void messageUpdate(char *message, int length);
protected:
	Ogre::SceneNode *digits[CSCNUMDIGITS][10];
	int score;

	void setScore(int newScore);
};
#endif
